package com.pig4cloud.pig.village.api.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author limbray.li
 * @date 2021/6/22
 */
@Data
public class RewardSearch {
	@ApiModelProperty(value = "时间区间-起")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime timeBegin;
	@ApiModelProperty(value = "时间区间-止")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime timeEnd;
	@ApiModelProperty(value = "责任组")
	private Long teamId;
	@ApiModelProperty(value = "责任人")
	private Long villagerId;
	@ApiModelProperty(value = "红黑榜",notes = "0:红榜，1:黑榜")
	private Integer punishment;
}
